FROM mysql:5.7.17
MAINTAINER harrison
ADD ./master/my.cnf /etc/mysql/conf.d/my.cnf
RUN chmod 644 /etc/mysql/conf.d/my.cnf


# VOLUME /var/lib/mysql

ADD ./data/init/master.sql /docker-entrypoint-initdb.d/

COPY ./data/backup/master_db.sql /docker-entrypoint-initdb.d/
